package com.jshcbd.modules.asset.vo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhoucd
 * @date
 * @description
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel( description = "资产维修记录")
public class AssetRepairVo implements Serializable {
    private static final long serialVersionUID = 1L;

    private String id;


    private String assetId;


    @ApiModelProperty(value = "送修时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startDate;


    @ApiModelProperty(value = "完成时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date finishDate;

    @ApiModelProperty(value = "联系电话")
    private String phone;

    @ApiModelProperty("联系人")
    private String contacts;


    @ApiModelProperty("维修完成验收照片")
    private String accepPhoto;

    @ApiModelProperty(value = "状态（1：维修中/2：已维修）")
    private Integer state;


    @ApiModelProperty(value = "备注")
    private String note;



}
